migrating statefiles to s3 bucket